import { NgModule } from '@angular/core';
import { Routes, RouterModule, PreloadAllModules } from '@angular/router';
import { NavigationComponent } from "./module/navigation/navigation.component";
import { AuthGuard } from "./service/guard/auth.guard";
import { SelectivePreloadingStrategy } from './selective-preloading-strategy';

//不用“/”开头
const routes: Routes = [

];
@NgModule({
  imports: [RouterModule.forRoot(routes, { preloadingStrategy: SelectivePreloadingStrategy })],
  exports: [RouterModule],
  providers: [SelectivePreloadingStrategy]
})
export class AppRoutingModule { }



// WEBPACK FOOTER //
// ./src/app/app-routing.module.ts